Dynomotion

Group: DynoMotion Message: 2181 From: himykabibble Date: 11/10/2011
Subject: Probing With Mach3+KFlop Plug-In
I've got tool length comp and tool changes working as I want, using both Mach3 and KMotionCNC. So the next thing to tackle is probing, starting with Mach3.

There is a file NotifyProbeMach3.c in the C Programs directory. I assume this "talks to" the plug-in to make G31 work with Mach3? If so, it appears all I need to modify is the PROBE_BIT and PROBE_ACTIVE_STATE #defines, to make it work. Is that correct?

I'm also curious - the probe loop is:

while (ReadBit(PROBE_BIT)!=PROBE_ACTIVE_STATE) {
WaitNextTimeSlice();
}

How long is each time slice? The PROBE input really should be checked after every step, but it doesn't appear to me this is likely to accomplish that unless the feedrate is very low. Since I do probing with the tool, and a touch-plate, that could lead to broken tools. Am I missing something?

Regards,
Ray L.
Group: DynoMotion Message: 2182 From: Tom Kerekes Date: 11/10/2011
Subject: Re: Probing With Mach3+KFlop Plug-In
Hi Ray,
 
Yes if your probe is a simple input bit then that is all you should need to modify.  Yes the plugin polls for the status and then uploads the results.
 
With one KFLOP User thread running a time slice is 180us.  Which is explained here:
 
 
Your deceleration time is likely to be far greater than this.
 
Regards
TK